package com.starry.designPatterns.creatation.builder;

/**
 * @Author Francis
 * @Date 2022-08-31 23:26
 *
 * 抽象建造者
 **/
public abstract class AbstractBuilder {


    Phone phone;

    abstract AbstractBuilder customCpu(String cpu);

    abstract AbstractBuilder customMem(String mem);

    abstract AbstractBuilder customDisk(String disk);

    abstract AbstractBuilder customCam(String cam);


    Phone getProduct(){
        return phone;
    }


}
